package com.yyt.module_main.act;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.vondear.rxtool.RxAppTool;
import com.yyt.libsrc.router.RouteTable;
import com.yyt.module_main.R;
import com.yyt.module_main.databinding.ActivityAboutBinding;
import com.yyt.module_main.vm.AboutVM;

import top.lixb.libcommon.base.RefreshableActivity;

@Route(path = RouteTable.main_about)
public class AboutActivity extends RefreshableActivity<ActivityAboutBinding> {

    private AboutVM mVm;

    @Override
    protected void init() {
        mVm = new AboutVM();
        mRefreshContentBinding.setVm(mVm);
        setTitle("关于我们");
        mSrl.setEnableRefresh(false);
        showToolbarDivider();
        mRefreshContentBinding.tvVersion.setText("版本V"+ RxAppTool.getAppVersionName(this));
    }

    @Override
    protected int initRefreshLayout() {
        return R.layout.activity_about;
    }

    @Override
    protected void getData(boolean refresh) {
        
    }
}
